{% load static %}

<div class="radio" id="{{ field_name }}">
    {% for variant, variant_id in variants %}
        <div class="variant" data-id="{{ variant_id }}">
            {{ variant }}
        </div>
    {% endfor %}
</div>